package com.hospital.pet.love.lovepethospital.dto.caze;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author RoselleShaw
 * @create 2024-05-10 16:00
 */
@Schema(description = "病例报表 Dto")
@Data
public class CaseExportDto {

    @Schema(description = "开始时间", requiredMode = Schema.RequiredMode.AUTO)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime begin;
    @Schema(description = "结束时间", requiredMode = Schema.RequiredMode.AUTO)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime end;
    @Schema(description = "状态 0 就诊 1 支付完成 2 取消", requiredMode = Schema.RequiredMode.AUTO)
    private Integer state;

}
